#pragma once

#include <Windows.h>
#include <exception>


namespace DSP
{
	class errorInfo : 
		public std::exception
	{
	private:
		HRESULT erCode;
	public:
		errorInfo(void);
		errorInfo(const char* w, HRESULT erCode);
		~errorInfo(void);
		const char* what() const;
		HRESULT getErCode() const;
	};
}